# # 方式一
# for 循环变量 in 序列：
#     代码块

# li = [1, 3, 5, 7, 'abc']
# for i in li:
#     print(i)

# sum_value = 0
# for i in range(1, 101):
#     sum_value += i
#     print(i)
# print(sum_value)


# 方式二
# for 循环变量 in 序列：
#     循环体
# else:		# 当for条件不满足时，执行else语句
#     代码

# for i in range(3):
#     print(i)
# else:
#     print("取不到值了！")

# print(range(0, 4))

# li = ['one', 'two', 'three']
# li1 = [('one', 1), ('two', 2)]
# # for i, j in enumerate(li):
# #     print(i)
# #     print(j)
# for i, j in li1:
#     print(i)
#     print(j)